package com.lysj.merchant.merchant.domain;

import com.lysj.admin.utils.spring.foundation.base.BaseEntity;
import com.lysj.admin.utils.validation.annotation.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Created by wtl on 2019-03-12 17:25:12
 * @description 门店控制层
 */
@Data
@Entity
@EqualsAndHashCode(callSuper=true)
@Table(name = "lysj_merchant_store")
public class Store extends BaseEntity {

    @NotBlank(message = "请填写门店名称")
    private String name;
//    @NotBlank(message = "请填写联系方式")
    private String phone;//门店联系方式
    /**
     * 餐饮行业，江浙菜、粤菜川菜、湘菜、东北菜、徽菜、闽菜、鲁菜、台湾菜、西北菜、东南亚菜、
     * 西餐、日韩菜、火锅、清真菜、小吃快餐、海鲜、烧烤、自助餐、面包甜点、茶餐厅、其他美食
     */
    private String foodType;
    @NotBlank(message = "请填写地址")
    private String address;//地址

    private String addressDetail; // 详细信息

    private String photo; // 门店logo

    private String merchantId; // 商户Id
}